package com.xyh.transaction.service;

import com.github.pagehelper.PageInfo;
import com.xyh.transaction.entity.Button;
import com.xyh.transaction.entity.dto.button.ButtonEditOrAddDto;
import com.xyh.transaction.entity.dto.button.ButtonSearchDto;
import com.xyh.transaction.entity.dto.user.ArrDto;

import java.util.List;
import java.util.Map;

public interface ButtonService {

    Map<String, List<String>> getUserAuthButtonList();

    PageInfo<Button> getButtonAuthList(ButtonSearchDto buttonSearchDto);

    void addButton(ButtonEditOrAddDto buttonEditOrAddDto);

    void editButton(ButtonEditOrAddDto buttonEditOrAddDto);

    void deleteButton(ArrDto arrDto);
}
